package com.ruoyi.info.mapper;

import java.util.List;
import com.ruoyi.info.domain.CmsLikes;

/**
 * 点赞Mapper接口
 * 
 * @author xwj
 * @date 2023-07-07
 */
public interface CmsLikesMapper 
{
    /**
     * 查询点赞
     * 
     * @param id 点赞主键
     * @return 点赞
     */
    public CmsLikes selectCmsLikesById(Long id);

    /**
     * 查询点赞列表
     * 
     * @param cmsLikes 点赞
     * @return 点赞集合
     */
    public List<CmsLikes> selectCmsLikesList(CmsLikes cmsLikes);

    /**
     * 新增点赞
     * 
     * @param cmsLikes 点赞
     * @return 结果
     */
    public int insertCmsLikes(CmsLikes cmsLikes);

    /**
     * 修改点赞
     * 
     * @param cmsLikes 点赞
     * @return 结果
     */
    public int updateCmsLikes(CmsLikes cmsLikes);

    /**
     * 删除点赞
     * 
     * @param id 点赞主键
     * @return 结果
     */
    public int deleteCmsLikesById(Long id);

    /**
     * 批量删除点赞
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmsLikesByIds(String[] ids);
}
